package com.cssnj.portal.domain.admin;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import javax.transaction.Transactional;

public interface GlJsGnRepository extends JpaRepository<GlJsGnEntity, GlJsGnEntityPK> {
    @Modifying
    @Transactional
    @Query("delete from GlJsGnEntity T where T.jsId = :JS_ID")
    void deleteByJsId(@Param("JS_ID") String jsid);
}
